package systems;

import ihm.controllers.ATKcontroller;
import ihm.models.ATKmodel;

/**
 * This class contains the launcher (i.e. the main function).
 * @author Baptiste Legrand & Benjamin Orman
 * @version 1.0
 */
public class AionToolKit {

  /**
   * The program launcher. Since there is no 'option', you can just start the
   * program without arguments.
   * @param args - Array of string which contains the arguments given in
   * parameters when you start the program.
   */
  public static void main(String[] args) {

    /* 
     * This part of the code is Reserved for a further use since the look and
     * feel is not completely done and do not work properly.
     * However you can uncomment it, it should work but you could have some
     * trouble to use the software.
     */
    /*
    SynthLookAndFeel laf = new SynthLookAndFeel();
    try {
      laf.load(AionToolKit.class.getResourceAsStream("./lookAndFeel/theme.xml"), AionToolKit.class);
      UIManager.setLookAndFeel(laf);  
    } catch (ParseException e) {
      e.printStackTrace();
    } catch (UnsupportedLookAndFeelException e) {
      e.printStackTrace();
    }
     */
    ATKmodel model = new ATKmodel();
    ATKcontroller controller = new ATKcontroller(model);
    controller.displayViews();
  }
}